package de.szut.ita13sommerfeld.blockadventure.gameentities;

import java.awt.Graphics;
import java.awt.Rectangle;
import java.util.LinkedList;

import de.szut.ita13sommerfeld.blockadventure.level.SpawnPoint;

public abstract class Block extends Entity {
	
	public static final float WIDTH = 32;
	public static final float HEIGHT = 32;

	
	public Block(float x, float y, float width, float height, SpawnPoint spawnpoint) {
		super(x, y, width, height, spawnpoint);
	}

	public abstract void render(Graphics g);
	public abstract void tick(LinkedList<Entity> entities);
	public abstract Rectangle getBounds();


	public SpawnPoint getSpawnpoint() {
		return spawnpoint;
	}

	public void setSpawnpoint(SpawnPoint spawnpoint) {
		this.spawnpoint = spawnpoint;
	}
	
}
